package avicit.bdp.dcs.job.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2020-08-04 11:36
 * @类说明：
 * @修改记录：
 */
public class ScheduleTaskDto {

   @ApiModelProperty(value = "流程定义id")
   private String processDefinitionId;

   @ApiModelProperty(value = "开始时间")
   private String startTime;

   @ApiModelProperty(value = "结束时间")
   private String endTime;

    // Cron表达式
    @ApiModelProperty(value = "Cron表达式")
   private String cron;

   // 失败策略，继续：1，结束：2
   @ApiModelProperty(value = "失败策略，继续：1，结束：2")
   private Integer failPolicy;

   // 流程优先级
   @ApiModelProperty(value = "流程优先级")
   private Integer priority;

   // 通知策略，都不发：1，成功发：2，失败发：3，成功或失败都发：4
   @ApiModelProperty(value = "通知策略，都不发：1，成功发：2，失败发：3，成功或失败都发:4")
   private Integer noticePolicy;

   @ApiModelProperty(value = "用户ID")
   private String userIds;

   public String getProcessDefinitionId() {
      return processDefinitionId;
   }

   public void setProcessDefinitionId(String processDefinitionId) {
      this.processDefinitionId = processDefinitionId;
   }

   public String getStartTime() {
      return startTime;
   }

   public void setStartTime(String startTime) {
      this.startTime = startTime;
   }

   public String getEndTime() {
      return endTime;
   }

   public void setEndTime(String endTime) {
      this.endTime = endTime;
   }

   public String getCron() {
      return cron;
   }

   public void setCron(String cron) {
      this.cron = cron;
   }

   public Integer getFailPolicy() {
      return failPolicy;
   }

   public void setFailPolicy(Integer failPolicy) {
      this.failPolicy = failPolicy;
   }

   public Integer getPriority() {
      return priority;
   }

   public void setPriority(Integer priority) {
      this.priority = priority;
   }

   public Integer getNoticePolicy() {
      return noticePolicy;
   }

   public void setNoticePolicy(Integer noticePolicy) {
      this.noticePolicy = noticePolicy;
   }

   public String getUserIds() {
      return userIds;
   }

   public void setUserIds(String userIds) {
      this.userIds = userIds;
   }

}
